# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-rss2email
_pyname=rss2email
pkgver=3.12.1
pkgrel=0
pkgdesc="Forward RSS feeds to your email address, community maintained"
url="https://github.com/rss2email/rss2email"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-feedparser py3-html2text py3-beautifulsoup4"
makedepends="py3-setuptools"
source="$_pyname-$pkgver.tar.gz::https://github.com/rss2email/rss2email/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="8b62a149172cf13c9b03841191f3b214cd1bc2c071f75150a76dacee3edf8a21e0a083a46eba8fabea695cb5077eb84aa4262a709e4aae1e15facee4bbecd1d6  rss2email-3.12.1.tar.gz"
